package com.newcoin.xgb.mapper;

import com.newcoin.xgb.entity.NewCoinAppVersion;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component
public interface CommonMapper {
    NewCoinAppVersion getAppVersionInfo();

    String getTeamMemberId(@Param("path") String path);

    Integer getFirstChargeNum(@Param("ids") String ids);

    Integer getAddNum(@Param("ids") String ids, @Param("date") String date);

    Integer getActiveNum(@Param("ids") String ids, @Param("date") String date);

    BigDecimal withdrawTotalAmount(@Param("userId") Long userId, @Param("start") String start, @Param("end") String end);

    String getFathers(@Param("userId")Long userId,@Param("con")Integer con);
}
